package com.icoding.starter.http;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: LJJ
 * @Date: 2020/7/22 14:17
 * @Desc:
 */
@ConfigurationProperties(prefix = "ljj")
public class MyHttpProperties {

    // 如果配置文件中配置了http.url属性，则该默认属性会被覆盖
    private String url = "http://www.baidu.com/";

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
